#include"List.h"

void test1()
{
	ListNode* plist = Listinit();
	

	PushBack(plist, 1);
	PushBack(plist, 2);
	PushBack(plist, 3);
	PushBack(plist, 4);
	/*ListNode* pos = ListFind(plist, 4);
	if (pos != NULL)
	{
		ListInsert(pos, 40);
	}*/
	/*ListNode* pos = ListFind(plist, 1);
	if (pos != NULL)
	{
		ListInsert(pos, 10);
	}
	ListErase(pos);*/
	ListPrint(plist);

	bool is_NULL =ListEmpty(plist);
	printf("%d\n", is_NULL);
	int size=ListSize(plist);
	printf("%d\n", size);
	Destory(plist);

}

int main()
{
	test1();
	return 0;
}